home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8933 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: oitnews.harvard.edu!cmcl2!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Date: 27 Feb 1996 08:27:25 -0500
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.825427437@schonberg>
  8. References: <00001a73+00002504@msn.com> <4etcmm$lpd@nova.dimensional.com>       <312515DF.7D3B@cmlj.demon.co.uk> <4gad29$ddp@druid.borland.com>         <4 <dirk.824894312@demokrit> <4geuge$n56@qualcomm.com> <4gspbo$rjm@gaia.ns.utk.edu>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. Nasser asks
  13.  
  14. ": This is the essence of the Ada culture: top-down control where
  15. : programmers are subordinates of the lead architects and managers.
  16.  
  17. : Other languages -- specifically C++ -- focus on simplifying the
  18. : programming activities while sacrificing some of the ease of control.
  19.  
  20. Would somebody from Rational care to explain what aspects of C++ they believe
  21. simplify the programming activity compared to Ada?"
  22.  
  23. I am not from Rational :-)
  24.  
  25. but here is my answer anyway, just one example.
  26.  
  27. If a programmer wants to do a weird unchecked conversion, in C++ you just
  28. go ahead and write a cast and that's the end of it.
  29.  
  30. In Ada, you have to make a big production of things, with unchecked_Conversoin,
  31. instantiated it, and then use it.
  32.  
  33. Not only is this more work, but you might find some pesky rule saying that
  34. only certain units in the program are permitted to with Unchecked_Conversion
  35. (an example of top down control).
  36.  
  37. ------------------------------------
  38. The interesting thing about the above reply is that a C fan could read it
  39. as supportive of C/C++ :-) :-)
  40.  
  41. I am not saying all C programmers would read it this way, just some!
  42.  
  43.